package com.pozu.new_retail.service;

import java.util.HashMap;

import com.pozu.new_retail.dao.model.Code;

public interface CodeService {
	
	public Code queryCodeByMap(HashMap<String, Object> map);
	
	public int saveCode(Code code);
	
	public int updateCode(Code code);
	
	public Code queryCodeObjByUserId(int appId,long userId);
	
	public Integer[] queryDiscountByCode(int appId,String code,long userId);
	
}
